package cn.bone.ou.data.service;

import cn.bone.base.bean.CommonResult;
import cn.bone.ou.data.param.NoticeParam;

public interface INoticeService {

    /**获取列表*/
    CommonResult list(NoticeParam.ListParam param);

    /**添加公告*/
    CommonResult add(NoticeParam.AddParam param);

    /**修改公告*/
    CommonResult modify(NoticeParam.ModifyParam param);

    /**删除公告*/
    CommonResult delete(NoticeParam.DeleteParam param);

    /**发布公告*/
    CommonResult publish(NoticeParam.PublishParam param);

    /**取消发布*/
    CommonResult unpublish(NoticeParam.UnpublishParam param);

    /**获取公告详情*/
    CommonResult detail(NoticeParam.DetailParam param);
}
